package test2;

public class Outer02 {
    private int num = 10;

    public void method() {
        class  Inner{
            void show(){
                System.out.println(num);
            }
        }
        Inner i = new Inner();
        i.show();

    }
}
